<% content_tag :div, :class => 'bigwrapper' do%>
<%= flash[:error] %>
		<% content_tag :div, :class => 'header' do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_19.png', :class => 'hleft' %>
			<%= content_tag :span, 'New Project',:class => 'hleft' %>
			<% content_tag :span, :class => 'headertext' do -%>
				<%= content_tag :strong, 'Welcome to Sparktools!' -%>
				<%= content_tag :p, "The projects application helps student organizations keep track of what they want to accomplish. A Sparktools project may have many actionable items (actions) associated with it. Complete the form below to create a new project. Starred (<span class='red'>*</span>) items are required. " -%>
			<% end -%>
		<% end -%>
		<% form_tag :action => 'new_project' do -%>
			<%= hidden_field :project, :group_id, :value => @group_id %>
			<%= hidden_field :project_entry, :status, :value => "Unopened"%>
			<% content_tag :div, :class => 'mainbox' do %>
				<%= content_tag :h3, '1. Description'%>
				<%= content_tag :p, "Project title (<span class='red'>*</span>): " %>
				<%= content_tag(:div,text_field(:project_entry, :name)) %>
				<%= content_tag :p, "Project description ( usually should define the scope of the project, ie. 'April drawing workshop' ) (<span class='red'>*</span>): " %>
				<%= content_tag(:div,text_area(:project_entry, :note, {:size=>"70x4"})) %>
			<% end -%>
			<% content_tag :div, :class => 'mainbox' do -%>
			<% content_tag :div, :class => 'duecolumn' do -%>
				<%= content_tag :h3, '2. Due date'%>
				<%= content_tag :p, "This is the date the project will be complete by ( may be changed later ) (<span class='red'>*</span>): " %>
				<%= calendar_date_select :project_entry, :due, :embedded => true %>
			<% end -%>
			<% content_tag :div, :class => 'savecolumn2' do -%>
				<%= content_tag :h3, '3. Save'%>
				<%= content_tag :p, "Once everything is filled out, click save to create this project." %>
				<%= submit_tag 'Create Project' %>
			<% end -%>
		<% end -%>
	<% end %>
<% end -%>
